﻿@model KnowledgeCommunity.Model.Topic

@{
    ViewBag.Title = "删除";
    Layout = "~/Views/Shared/_Layout_zone.cshtml";
}

<div class="contentcontainer">
    <div class="headings">
        <h2>删除新闻</h2>
    </div>
    <div class="contentbox">
        <table width="100%" border="0" cellpadding="0" cellspacing="0"><tbody>
            <tr>
                <th width="200px">新闻标题</th>
                <td> @Html.DisplayFor(model => model.Title)</td>
            </tr>
            <tr>
                <th>关注次数</th>
                <td> @Html.DisplayFor(model => model.ClickNum)</td>
            </tr>
            <tr>
                <th>创建者</th>
                <td> @Html.DisplayFor(model => model.EditUser)</td>
            </tr>
            <tr>
                <th>创建时间</th>
                <td> @Html.DisplayFor(model => model.AddTime)</td>
            </tr>
            <tr>
                <th>新闻类型</th>
                <td> 
                   @Enum.GetName(typeof(KnowledgeCommunity.Service.Enum.NewsBelong), Model.BelongTo)
                </td>
            </tr>
        </tbody></table>
        @using (Html.BeginForm())
        {
            <input type="submit" class="btn" id="deleteTopic" value=" 确定删除 >> " />
        }  
        <div style="clear: both;"></div>
    </div>
</div>